package com.trivia.restServices

import com.trivia.restResponses.RestResponseUtil;

class SaveStatsController extends AbstractController {
	
	def saveStatsService
	
    def index = {
		execute()
	}
	
	def executeTry(){
		String stats = params.stats
		
		saveStatsService.saveStats(stats)
		
		response = RestResponseUtil.getOkResponse()
	}
	
}